package james.education;
import javax.swing.ImageIcon;

public class CardInfo {
	
	protected ImageIcon image;
	
	protected boolean correct;
	
	protected boolean showPicture;

	public CardInfo(ImageIcon img) {
		this.image = img;
	}
	
    public CardInfo(ImageIcon img, boolean crrct) {
    	this.image = img;
    	this.correct = crrct;
	}
	
	public boolean isCorrect() {
		return correct;
	}

	public void setCorrect(boolean correct) {
		this.correct = correct;
	}

	public ImageIcon getImage() {
		return image;
	}

	public void setImage(ImageIcon iamge) {
		this.image = iamge;
	}

	public boolean isShowPicture() {
		return showPicture;
	}

	public void setShowPicture(boolean showPicture) {
		this.showPicture = showPicture;
	}

}
